<?php echo $this->Form->create('StoreProduct',array('url'=>array_merge(array('plugin'=>'store','controller'=>'products','action'=>'search'), $this->params['pass'])));?>
<table cellpadding="4" cellspacing="0" width="100%">
	<tr>
		<td valign="middle" align="right">
			<?php echo __d('store','Search by',true)?>
		</td>			
		<td valign="middle" align="left">
			<?php echo $form->input('model_id',array('label'=>false,'options'=>$store->products_mdels(),'empty'=>__d('store','- Offer Type -',true),'class'=>'search_filters'))?>	
		</td>
		<td valign="middle" align="left">
			<?php echo $form->input('price_detaliczna',array('label'=>false,'options'=>array('0;100'=>'0 - 100','101;300'=>'101 - 300','301;600'=>'301 - 600','601;1200'=>'601 - 1 200','1201;2400'=>'1 201 - 2 400','2401;5000'=>'2 401 - 5 000','5001;10000'=>'5 001 - 10 000'),'empty'=>__d('store','- Price -',true),'class'=>'search_filters'))?>
		</td>
		<td valign="middle">
			<?php echo $form->input('category_id',array('label'=>false,'options'=>$this->Store->categories(false,'selectbox'),'empty'=>__('- Category -',true),'class'=>'search_filters'));?>
		</td>
		<td valign="middle" align="center">
			<input type="image" src="/img/store.moon/buttons_search.png" style="border: none; padding: 0px; margin: 0px;" />
		</td>
	</tr>
</table>
<?php echo $this->Form->end();?>